package stud.aistar.entity;

import java.io.Serializable;

/**
 * Created by Jcdz on 2019/9/28.
 */
public class Time implements Serializable {

    private Integer id;

    private String startTimes;

    private String endTime;

    public Time() {
    }

    public Time(Integer id, String startTimes, String endTime) {
        this.id = id;
        this.startTimes = startTimes;
        this.endTime = endTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStartTimes() {
        return startTimes;
    }

    public void setStartTimes(String startTimes) {
        this.startTimes = startTimes;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Time{");
        sb.append("id=").append(id);
        sb.append(", startTimes='").append(startTimes).append('\'');
        sb.append(", endTime='").append(endTime).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
